import base from './base'
import axios from '@/utils/Axios'

// 用户登录
export function login(params, code) {
  return axios.post(base.login + `/${code}`, params)
}


// 时间令牌
export function timeToken() {
  return axios.get(base.timetoken)
}

// 忘记密码
export function forgetPassword(params) {
  return axios.post(base.forgetPassword, params)
}

// 修改密码
export function changePassword(params) {
  return axios.post(base.changePassword, params)
}

